<template>
  <div class="myselfReCord_top">
    <div class="myselfReCord_top_box">{{ content.date || 0 }}</div>
    <div class="myselfReCord_top_box">{{ content.medicine || 0 }}</div>
    <div class="myselfReCord_top_box">{{ content.record || 0 }}</div>
  </div>
</template>

<script>
export default {
  name: "myselfReCordTop",
  props: {
    content: {
      required: true,
      type: Object,
      default() {
        return {
          date: "参数等待",
          medicine: "参数等待",
          record: "参数等待",
        };
      },
    },
  },
  data() {
    return {};
  },
};
</script>

<style lang="scss" scope>
.myselfReCord {
  &_top {
    padding: 10px 0;
    display: flex;
    height: 45px;
    max-height: 50px;
    background-color: #e8e8e8;
    &_box {
      justify-content: center;
      flex: 1;
      display: flex;
      align-items: center;
      font-size: 14px;
    }
  }
}
</style>
